<template>
	<view class="container">
		<rich-text :nodes="info"></rich-text>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				info: ""
			}
		},
		created() {
			uni.getStorage({
				key: 'user_info',
				success: (res) => {
					this.token = res.data.token;
					this.$request('/api/wxapp/mine/info/privateProtocol', {
						"token": this.token
					}).then(res => {
						if (res.code === 1) {
							this.info = res.data;
						}
					})
				}

			})
		}
	}
</script>

<style scoped>
	.container{
		padding: 20px;
		box-sizing: border-box;
	}
</style>
